package com.ruoyi.system.domain.vo;

import com.alibaba.fastjson2.JSONArray;
import lombok.Getter;

import java.math.BigDecimal;

@Getter
public class DeviceMonitorReponse {
    private String pointName;
    private BigDecimal maxValue;
    private BigDecimal minValue;
    private JSONArray xData;
    private JSONArray data;
    private BigDecimal yMaxValue;

    /**
     * 更新的时间（秒）
     */
    private String time;

    /**
     * 曲线的颜色
     */
    private String color;

    /**
     * 单位
     */
    private String unit;

    public void setTime(String time) {
        this.time = time;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public void setMaxValue(BigDecimal maxValue) {
        this.maxValue = maxValue;
    }

    public void setMinValue(BigDecimal minValue) {
        this.minValue = minValue;
    }

    public void setxData(JSONArray xData) {
        this.xData = xData;
    }

    public void setData(JSONArray data) {
        this.data = data;
    }

    public void setyMaxValue(BigDecimal yMaxValue) {
        this.yMaxValue = yMaxValue;
    }

}
